laravel route group middleware prefix

51

laravel route group middleware prefix -

Route::group(['prefix' => 'admin','middleware' => ['auth:admin']], function() {
    Route::get('dashboard','AdminController@dashboard');
});

Comments

Submit
0 Comments